//
//  HomeSearchView.h
//  DuBai
//
//  Created by darktm on 14-3-1.
//  Copyright (c) 2014年 darktm. All rights reserved.
//

#import <UIKit/UIKit.h>

@class HomeSearchView;
@protocol HomeSearchViewDelegate <NSObject>
@optional
-(void)didSearch:(HomeSearchView *)sv;
-(void)didCancle:(HomeSearchView *)sv;

@end

@interface HomeSearchView : UIView<UISearchBarDelegate>
@property(assign,nonatomic)id<HomeSearchViewDelegate>delegate;
@property (strong, nonatomic) UISearchBar *sb;
@property (strong, nonatomic) UIButton *cancle;
- (void)on_btn_cancle:(id)sender;

@end
